<?php

/**
 * Modifies the YouTube table so it can take a YouTube url instead of a video ID
 *
 */
class Db_009_bbce_modify_youtube_slide_data extends Ot_Migrate_Migration_Abstract
{
    public function up($dba)
    {
        $query = "           
            ALTER TABLE  `" . $this->tablePrefix . "tbl_plugin_slidetype_youtube` CHANGE  `videoId`  `url` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
        ";
        
        $dba->query($query);
    }

    public function down($dba) {
        
    }    
}